package com.kgc.ssm.service.impl;

import com.kgc.ssm.bean.Role;
import com.kgc.ssm.mapper.RoleMapper;
import com.kgc.ssm.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created On : 2022/8/12.
 * <p>
 * Author : zhukang
 * <p>
 * Description: 角色业务接口实现类
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> getRoleList() {
        return roleMapper.selectRoleList();
    }
}
